From: Carlos Garnacho Date: Mon, 13 Mar 2023 09:54:33 +0000 (+0100) Subject: screenshot: Fix code typo X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~371^2^2~95 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=58af42caeaf8ef51f62aa22880c04638f21d5e06;p=gnome-shell.git screenshot: Fix code typo Even though commit b89d90eb8 talked about the GLib.BookmarkFile type, this didn't stop the code from sneaking a silly typo and refer to this GLib.BookmarksFile (i.e. extra 's'). Fix the code to refer to the right type name and constructor. Fixes: b89d90eb8 ("screenshot: Use GLib.BookmarkFile to save recent screenshots") Part-of: --- diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index 48ca1ae76..fd84a74f8 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -2076,7 +2076,7 @@ function _storeScreenshot(bytes, pixbuf) { const recentFile = GLib.build_filenamev([GLib.get_user_data_dir(), 'recently-used.xbel']); const uri = screenshotFile.get_uri(); - const bookmarks = new GLib.BookmarksFile(); + const bookmarks = new GLib.BookmarkFile(); try { bookmarks.load_from_file(recentFile); } catch (e) {